package dict;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class CbDict {
	
	//错误类型
	public static final Map<String, String> MESSAGES = Collections.synchronizedMap(new HashMap<String, String>());
	
	public final static String CB_SUCCESS= "0000";
	public final static String CB_FAILURE= "9999";
	
	public final static String CB_NOT_EXIST= "CB01";
	public final static String CB_FETCH_EXCEPTION= "CB02";
	public final static String CB_STATUS_EXCEPTION= "CB03";
	public final static String CB_PERSIST_EXCEPTION= "CB04";
	public final static String CB_PROCESS_EXCEPTION= "CB05";
	public final static String CB_ALREADY_EXIST= "CB06";
	public final static String CB_REMOVE_EXCEPTION= "CB07";
	public final static String CB_CSTATUS_EXCEPTION= "CB08";
	

	static {
		MESSAGES.put(CB_SUCCESS, "Return Successful");
		MESSAGES.put(CB_FAILURE, "Return Failure");
		
		MESSAGES.put(CB_NOT_EXIST, "cb not exist");
		MESSAGES.put(CB_FETCH_EXCEPTION, "cb fetch exception");
		MESSAGES.put(CB_STATUS_EXCEPTION, "cb status exception");
		MESSAGES.put(CB_PERSIST_EXCEPTION, "cb persist exception");
		MESSAGES.put(CB_PROCESS_EXCEPTION, "cb process exception");
		MESSAGES.put(CB_ALREADY_EXIST, "cb already exist");
		MESSAGES.put(CB_REMOVE_EXCEPTION, "cb remove exception");
		MESSAGES.put(CB_CSTATUS_EXCEPTION, "cb audit status exception");
	}


}
